package com.sihai.ehr.web.pojo;

import java.util.Date;

/**
 * 培训评价POJO对象
 * 
 * @author henry
 * 
 */
public class TrainAssessPojo {
	private Long id;
	private Long planId;
	private Long weightId;
	private String weightTitle;
	private Long workId;
	private String name;
	private String workNo;
	private String assessContent;
	private Float score;
	private Date assessDate;

	public TrainAssessPojo() {
	}

	public TrainAssessPojo(Long planId, String weightTitle) {
		this.planId = planId;
		this.weightTitle = weightTitle;
	}

	// select new
	// com.sihai.ehr.web.pojo.TrainAssessPojo(3,'心得报告',w.id,w.baseId.name,w.workNo,t.assessContent,t.score,t.create_date)
	// from TrainAssess t right join t.employeeinfoWork w where w.cancel <> 1
	// and w.duty.id in (select p.duty.id from TrainPlanDutyTarget p where
	// p.trainPlan.id=3) and t.trainAssessWeight.title='心得报告'
	public TrainAssessPojo(Long id, Long planId, Long weightId,
			String weightTitle, Long workId, String name, String workNo,
			String assessContent, Float score, Date assessDate) {
		this.id = id;
		this.planId = planId;
		this.weightId = weightId;
		this.weightTitle = weightTitle;
		this.workId = workId;
		this.name = name;
		this.workNo = workNo;
		this.assessContent = assessContent;
		this.score = score;
		this.assessDate = assessDate;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getPlanId() {
		return planId;
	}

	public void setPlanId(Long planId) {
		this.planId = planId;
	}

	public Long getWeightId() {
		return weightId;
	}

	public void setWeightId(Long weightId) {
		this.weightId = weightId;
	}

	public String getWeightTitle() {
		return weightTitle;
	}

	public void setWeightTitle(String weightTitle) {
		this.weightTitle = weightTitle;
	}

	public Long getWorkId() {
		return workId;
	}

	public void setWorkId(Long workId) {
		this.workId = workId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getWorkNo() {
		return workNo;
	}

	public void setWorkNo(String workNo) {
		this.workNo = workNo;
	}

	public String getAssessContent() {
		return assessContent;
	}

	public void setAssessContent(String assessContent) {
		this.assessContent = assessContent;
	}

	public Float getScore() {
		return score;
	}

	public void setScore(Float score) {
		this.score = score;
	}

	public Date getAssessDate() {
		return assessDate;
	}

	public void setAssessDate(Date assessDate) {
		this.assessDate = assessDate;
	}

}
